﻿<phone:PhoneApplicationPage 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:local="clr-namespace:Nok_Air"
	mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
	x:Class="Nok_Air.Payment"
	Foreground="{StaticResource PhoneForegroundBrush}"
	Orientation="Portrait" FontFamily="/Nok Air;component/Fonts/Fonts.zip#PSL Display" FontSize="40">

	<!--LayoutRoot is the root grid where all page content is placed-->
	<Grid x:Name="LayoutRoot" Background="Transparent">
		<Grid.RowDefinitions>
			<RowDefinition Height="70"/>
			<RowDefinition Height="*"/>
			<RowDefinition Height="80"/>
		</Grid.RowDefinitions>
		<Grid Style="{StaticResource TopAppBarStyle}">
			<Grid.ColumnDefinitions>
				<ColumnDefinition  Width="1*"/> 		
				<ColumnDefinition  Width="2*"/> 		
				<ColumnDefinition  Width="1*"/> 		
			</Grid.ColumnDefinitions>   
			<Button x:Name="backButton" Content="Back" HorizontalAlignment="Left"  Width="130" Margin="15,0,0,0" Height="60" Style="{StaticResource BackButtonStyle}" Foreground="White" Visibility="Collapsed" />
			<TextBlock x:Name="Title_checkIn_TextBlock" Margin="0" TextWrapping="Wrap" Text="Payment" FontSize="48" TextAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White" Grid.Column="1" Visibility="Collapsed" />
            <Button x:Name="continueButton" Content="{Binding Continue}" Style="{StaticResource BlueButtonStyle}" Margin="5,0" Click="continueButton_Click" Foreground="White" Grid.Column="2" VerticalAlignment="Center" FontSize="40" />
		</Grid>
        <Grid Style="{StaticResource ContentStyle}" Margin="0" Grid.Row="1">
            <StackPanel Margin="0,30,0,0" HorizontalAlignment="Center" VerticalAlignment="Top">
                <TextBlock Margin="0,0,0,20" TextWrapping="Wrap" Text="{Binding PaymentTMsg}" HorizontalAlignment="Center" FontSize="53.333" VerticalAlignment="Center" Foreground="Black"/>
                <TextBlock Margin="0,0,0,30" TextWrapping="Wrap" Text="{Binding PaymentTMsg2}" HorizontalAlignment="Center" Foreground="Black"/>
                <StackPanel Margin="0,0,0,60" Orientation="Horizontal" d:LayoutOverrides="Width" HorizontalAlignment="Center" VerticalAlignment="Center">
                    <RadioButton x:Name="csRTB" GroupName="paymentMethod" Content="{Binding CounterService}" Tag="CSF" HorizontalAlignment="Center" Height="70" Width="200" BorderThickness="0" Style="{StaticResource BlueRadioButtonStyle}" VerticalAlignment="Center" Checked="PaymentMethod_Checked" Margin="0,0,2,0" FontSize="37.333" FontWeight="Bold"/>
                    <RadioButton x:Name="atmRTB" GroupName="paymentMethod" Content="{Binding ATM}" Tag="ATM" HorizontalAlignment="Center" Height="70" Width="200" BorderThickness="0" Style="{StaticResource BlueRadioButtonStyle}" VerticalAlignment="Center" Checked="PaymentMethod_Checked" Margin="2,0,0,0" FontSize="37.333" FontWeight="Bold"/>

                </StackPanel>
                <TextBlock Margin="10,0,10,30" TextWrapping="Wrap" Text="{Binding PaymentTMsg3}" Foreground="#FF020000" HorizontalAlignment="Left" VerticalAlignment="Center"/>
                <Grid HorizontalAlignment="Center" Height="45" VerticalAlignment="Center" Width="250">
                	<Grid.ColumnDefinitions>
                		<ColumnDefinition/>
                		<ColumnDefinition Width="0.5*"/>
                		<ColumnDefinition/>
                	</Grid.ColumnDefinitions>
                	<RadioButton GroupName="paymentMethodConfirm" Content="{Binding Yes}" BorderThickness="0" Style="{StaticResource BlueRadioButtonStyle}" x:Name="yesRBT" FontSize="32" />
                	<RadioButton GroupName="paymentMethodConfirm" Content="{Binding No}" BorderThickness="0" Style="{StaticResource BlueRadioButtonStyle}" IsChecked="True" x:Name="noRBT" Grid.Column="2" FontSize="32" />
                </Grid>
                <TextBlock x:Name="FeeTBlock" Margin="0,30,0,0" TextWrapping="Wrap" Text="" Foreground="#FFD62929" HorizontalAlignment="Center" VerticalAlignment="Center"/>
            </StackPanel>
        </Grid>
        <Grid Grid.Row="2">
			<local:AppBarMenuUserControl/>
		</Grid>
		
		<!--TitlePanel contains the name of the application and page title-->

		<!--ContentPanel - place additional content here-->
	</Grid>
</phone:PhoneApplicationPage>